#!/bin/sh

FOLDER=$1
MAKE_ARG=$2

scp -r -P2222 ../. rt@localhost:~/$FOLDER
ssh -p2222 rt@localhost PATH=$PATH:/usr/xenomai/bin make -C~/$FOLDER/Debug $MAKE_ARG
